xen/arm: mm: Allocate xen page tables in domheap rather than xenheap
authorJulien Grall <jgrall@amazon.com>
Fri, 20 May 2022 12:09:28 +0000 (13:09 +0100)
committerJulien Grall <jgrall@amazon.com>
Wed, 8 Jun 2022 10:04:53 +0000 (11:04 +0100)
commit922936dc0657c3f6f21023308e93bc681762faf6
tree6a0bf1dfb04b708cce0be9d84054a621e73d89c9
parentaafcc54689de010fb2964a282fab7ce27b225328
xen/arm: mm: Allocate xen page tables in domheap rather than xenheap

xen_{un,}map_table() already uses the helper to map/unmap pages
on-demand (note this is currently a NOP on arm64). So switching to
domheap don't have any disavantage.

But this as the benefit:
    - to keep the page tables unmapped if an arch decided to do so
    - reduce xenheap use on arm32 which can be pretty small

Signed-off-by: Julien Grall <jgrall@amazon.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c